package com.cyy.common.pojo.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author caoyunyou
 */
@Data
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MetaDto {

    @Schema(description = "标题")
    private String title;

    @Schema(description = "图标")
    private String icon;

    @Schema(description = "是否隐藏")
    private Boolean hidden;

    @Schema(description = "是否缓存页面")
    private Boolean keepAlive;

    @Schema(description = "是：根目录只有一个子路由显示目录\n" +
            "否：根目录只有一个子路由不显示目录，只显示子路由")
    private Boolean alwaysShow;
}
